package itdep.domain.event;

import javax.persistence.Column;
import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;

/**
 * @author kara (latest modification by kara)
 * @version $Revision: 11 $   $Date: 2010-06-16 10:18:57 +0000 (Wed, 16 Jun 2010) $
 */
@Entity
@DiscriminatorValue(value = "2")
public class NewSurnameEvent extends StudentEvent {

	@Column(name = "OLD_STUDENT_SURNAME", nullable = true, insertable = true, updatable = true)
	private String oldStudentSurname;

	public String getOldStudentSurname() {
		return oldStudentSurname;
	}

	public void setOldStudentSurname(final String oldStudentSurname) {
		this.oldStudentSurname = oldStudentSurname;
	}

}